package com.snail.model.pojo.mall;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

@Data
@TableName("biz_order")
public class BizOrder {
    @TableId(value = "order_id", type = IdType.AUTO)
    private Long orderId;
//private List<StockDecreaseRequest>stockDecreaseRequests;
    private String orderNo;
    private Long userId;
    private BigDecimal totalAmount;
    private BigDecimal payAmount;
    private Integer orderStatus;
    private Date createTime;
    private Date updateTime;
    private Integer paymentId;
    private String paymentMethod;
}
